let res = [1, 2, 3, 4, 5]
let result = res.reduce((per, cur) => {
  return per + cur
}, 100)
console.log(result) // 115
